package com.jd.product.service;

import com.jd.basic.util.AjaxResult;
import com.jd.product.domain.Product;
import com.jd.basic.service.BaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jerry
 * @since 2022-09-04
 */
public interface ProductService extends BaseService<Product> {

    AjaxResult onsale(List<Long> ids, HttpServletRequest request);

    void offsale(List<Long> ids, HttpServletRequest request);
}
